dotConnect for MySQL Documentation
Devart.Data.MySql Namespace / MySqlHelper Class / ExecuteNonQuery Method / ExecuteNonQuery(MySqlConnection,String,MySqlParameter[]) Method
The MySqlConnection object to use.
The SQL command to execute.
The array of MySqlParameter objects to use with the command.

In This Topic
ExecuteNonQuery(MySqlConnection,String,MySqlParameter[]) Method
In This Topic
Executes a single command against a MySQL database. The MySqlConnection is assumed to be open when the method is called and remains open after the method completes.
Syntax
'Declaration
 
Public Overloads Shared Function ExecuteNonQuery( _
   ByVal connection As MySqlConnection, _
   ByVal commandText As String, _
   ByVal ParamArray commandParameters() As MySqlParameter _
) As Integer
 

Parameters

connection
The MySqlConnection object to use.
commandText
The SQL command to execute.
commandParameters
The array of MySqlParameter objects to use with the command.
See Also